package com.web.gobang;

import com.web.gobang.connect.MySocket;
import com.web.gobang.view.ChooseView;

import java.io.IOException;

/**
 * 主类，主函数类
 *
 * @author chaos
 */
public class GobangMain {

    public static void main(String[] args) throws IOException {

        ChooseView chooseView = new ChooseView();
        chooseView.setVisible(true);
        ChooseView.init();
        //开启服务器
        MySocket.startOnlineServer();
    }
}
